<template>
  <div id="app">
    <div style="line-height: 20px;padding-left:4px" v-show="isLoading">加载中...</div>
    <keep-alive>
      <router-view v-show="!isLoading"/>
    </keep-alive>
  </div>
</template>
<script>
export default {
  name: 'App',
  computed: {
    isLoading() {
      return this.$store.state.isLoading
    }
  }
}
</script>
